package com.flong.jsoup.fl;

import java.net.URL;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import com.flong.common.ObjectUtil;

public class Flzx111XQ {
	public static void main(String[] args) throws Exception{
		
		String url ="http://www.110.com/ask/question-11480497.html";
		
		Document doc = Jsoup.parse(new URL(url), 30000);
		
		if(doc!=null){
			String text = doc.select("div[class='xwz']").text();
			if(ObjectUtil.isNotEmpty(text)){
				System.out.println(text);
			}
		}
	}
}
